function MaterialPanel(){
	this.materialPanel = document.getElementById('materialPanel');
}

MaterialPanel.prototype.update = function(){
	this.clean();
	if(activeObject.materialGui != undefined && activeObject.materialGui != null){
		this.materialPanel.appendChild(activeObject.materialGui.domElement);
		// console.log('材质材质额');
	}
}

MaterialPanel.prototype.clean = function(){
	for(var i = this.materialPanel.childNodes.length-1;i >= 0;i--){
		this.materialPanel.removeChild(this.materialPanel.childNodes[i]);
	}
}